package com.sctlqq.wuye.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sctlqq.wuye.entity.Integral;
import com.sctlqq.wuye.entity.Result;
import com.sctlqq.wuye.service.IntegralService;
import com.sctlqq.wuye.mapper.IntegralMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;

/**
* @author 15811
* @description 针对表【itegral】的数据库操作Service实现
* @createDate 2022-04-16 21:03:28
*/
@Service
public class IntegralServiceImpl extends ServiceImpl<IntegralMapper, Integral>
    implements IntegralService{

    @Autowired
    private  IntegralMapper integralMapper;


    @Override
    public Result<Object> getIntegralDetailList(Long uid) {
        return new Result<>(HttpStatus.OK.value(),"success",integralMapper.getIntegralDetailList(uid));
    }
}




